//
//  SFEmoticonCell.h
//  SFEmoticon
//
//  Created by 许博 on 16/7/18.
//  Copyright © 2016年 许博. All rights reserved.
//

#import <UIKit/UIKit.h>
@class SFEmoticon;

@protocol SFEmoticonCellDelegate;

@interface SFEmoticonCell : UICollectionViewCell

/// 代理
@property (nonatomic, weak, nullable) id<SFEmoticonCellDelegate> delegate;
/// 表情数组
@property (nonatomic, nonnull) NSArray <SFEmoticon *> *emoticons;

@end

@protocol SFEmoticonCellDelegate <NSObject>

/// 选中表情
///
/// @param emoticon  表情模型，可选
/// @param isRemoved 删除按钮
- (void)emoticonCellDidSelectedEmoticon:(SFEmoticon * _Nullable)emoticon isRemoved:(BOOL)isRemoved;
@end
